package com.gtenacg.cartoonservice.mapper;

import com.gtenacg.cartoonservice.pojo.model.RelationCartoonAuthor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 86198
 * @description 针对表【relation_cartoon_author(漫画与作者联系表)】的数据库操作Mapper
 * @createDate 2024-05-13 16:07:20
 * @Entity generator.pojo.RelationCartoonAuthor
 */
@Mapper
//@CacheNamespace
public interface RelationCartoonAuthorMapper {

    List<RelationCartoonAuthor> getByCids(List<Integer> cids);

    List<RelationCartoonAuthor> list();

    void insert(RelationCartoonAuthor relationCartoonAuthor);

    void update(RelationCartoonAuthor relationCartoonAuthor);

    void delete(List<Integer> ids);

    List<RelationCartoonAuthor> search(
            @Param("cid") Integer cid,
            @Param("aid") Integer aid
    );
}




